package com.study.lu.demo.spi;

import org.apache.dubbo.common.extension.ExtensionLoader;

public class DubboSpiTest {
    public static void main(String[] args) {
        ExtensionLoader<TeachInterface> extensionLoader = ExtensionLoader.getExtensionLoader(TeachInterface.class);

        TeachInterface teachInterface = extensionLoader.getExtension("shuxue");
        teachInterface.test();
    }
}
